<template>
    <div class="root">
        <div style="padding: 30rpx; background-color: white; display: flex; justify-content: space-between;" @click="logout">
            <span>退出登陆</span>
            <span>></span>
        </div>
    </div>
</template>

<script>
export default {
    name: 'Withdrawal',
    data() {
        return {
            value: '',
            amount: "",
            info: {}
        };
    },
    async onLoad() {

    },

    methods: {
        async logout() {
            // 退出登陆
            // 清空本地缓存
            uni.clearStorageSync()
            // 跳到登陆页
            uni.reLaunch({ url: '/pages/health/index',  })
        }

    },

};
</script>

<style lang="scss" scoped>
.root {
    background: #F2F2F2;
    color: #101010;
    font-size: 40rpx;
    padding: 30rpx;
    height: 100vh;
}
</style>